typeof global === 'undefined' ? console.log('browser') : console.log('node')
typeof window === 'undefined' ? console.log('node') : console.log('browser')

typeof define === 'undefined' ? console.log('browser') : console.log('node')
console.log(typeof define)
